.TH strcoll 3 "" "" ""
.SH SYNOPSIS
strcoll \- locale specific character string compare
.SH ANSI_SYNOPSIS
#include <string.h>
.br
int strcoll(const char *
.IR stra ,
const char * 
.IR strb );
.br
.SH TRAD_SYNOPSIS
#include <string.h>
.br
int strcoll(
.IR stra ,
.IR strb )
.br
char *
.IR stra ;
.br
char *
.IR strb ;
.br
.SH DESCRIPTION
.BR strcoll 
compares the string pointed to by 
.IR stra 
to
the string pointed to by 
.IR strb ,
using an interpretation
appropriate to the current 
.BR LC_COLLATE 
state.
.SH RETURNS
If the first string is greater than the second string,
.BR strcoll 
returns a number greater than zero. If the two
strings are equivalent, 
.BR strcoll 
returns zero. If the first
string is less than the second string, 
.BR strcoll 
returns a
number less than zero.
.SH PORTABILITY
.BR strcoll 
is ANSI C.

.BR strcoll 
requires no supporting OS subroutines.
.SH QUICKREF
strcoll ansi pure
.SH SOURCE
src/newlib/libc/string/strcoll.c
